package org.yanfengying.user.service;

import org.yanfengying.dto.LoginDto;
import org.yanfengying.dto.PasswordDTO;
import org.yanfengying.dto.PhoneLoginDTO;
import org.yanfengying.user.domain.Logininfo;
import org.yanfengying.utils.AjaxResult;
import org.yanfengying.utils.service.IBastServer;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yanfengying
 * @since 2022-11-14
 */
public interface ILogininfoService extends IBastServer<Logininfo> {

    AjaxResult accountLogin(LoginDto dto);

    AjaxResult loginBack(Map<String,Object> map);

    AjaxResult loginPhone(PhoneLoginDTO dto);

    AjaxResult updataPassword(PasswordDTO dto);
}
